package com.cloud.user_info.entity;

import com.baomidou.mybatisplus.annotation.*;
import com.cloud.domain.BaseEntity;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

/**
 * 系统项目配置
 *
 * @author yzj
 * @since 2022-07-25
 */
@Data
@Schema(name = "SysProject对象", description = "系统管理")
@TableName("sys_project")
public class SysProject extends BaseEntity {

    @Schema(description = "主键")
    @TableId(value = "id", type = IdType.AUTO)
    private Long id;

    @Schema(description = "系统编号")
    private String sysCode;

    @Schema(description = "系统名称")
    private String sysName;

    @Schema(description = "系统logo")
    private String sysLogo;

    @Schema(description = "标题logo")
    private String topLogo;

    @Schema(description = "背景小图片")
    private String backMinUrl;

    @Schema(description = "背景大图片")
    private String backMaxUrl;

    @Schema(description = "系统顶部图片")
    private String topImage;

    @Schema(description = "底部版权文本")
    private String plateText;

    @Schema(description = "项目地址")
    private String projectUrl;

    @Schema(description = "项目图片")
    private String projectImage;

    @Schema(description = "项目说明")
    private String projectContent;

    @Schema(description = "项目类型（0内部项目 1外部项目）")
    private String projectType;

    @Schema(description = "是否应用（0未应用 1已应用）", hidden = true)
    private Integer isApply;

    @Schema(description = "联系电话")
    private String contactPhone;

    @Schema(description = "联系地址")
    private String contactAddress;

    @Schema(description = "经度")
    private String longitude;

    @Schema(description = "纬度")
    private String latitude;

    @Schema(description = "APP名称")
    private String appName;

    @Schema(description = "删除标志（0代表存在 1代表删除）")
    @TableField(value = "deleted", fill = FieldFill.INSERT)
    private Integer deleted;

}
